package com.davidhigenbottam.HeatMap.client;

import com.davidhigenbottam.HeatMap.shared.Query;
import com.davidhigenbottam.HeatMap.shared.Results;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>HeatmapService</code>.
 */
public interface HeatmapServiceAsync {
	
	void checkLoggedIn(AsyncCallback<Boolean> callback);
	void authenticate(String username, String password,AsyncCallback<Boolean> callback);
	void getResults(Query query, AsyncCallback<Results> callback)
			throws IllegalArgumentException;
	
}
